{{extend name="layouts/main" /}}

{{block name="title"}}<title>管理员列表 | 微信小程序后台管理系统</title>{{/block}}

{{block name="css"}}
<style>

</style>
{{/block}}
{{block name="content"}}
<section class="content-header">
    <h1>管理系统</h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 管理员管理</a></li>
        <li class="active">管理员列表</li>
    </ol>
</section>
<section class="content" id="showcontent">
    <div class="row">
        <div class="col-md-12">
            <div class="box box-primary">
                <div class="box-header with-border">
                    <h3 class="box-title">添加管理员</h3>
                </div>
                <form role="form" action="{{:url('admin/create')}}" method="post">
                    <div class="box-body">
                        <div class="form-group">
                            <label for="input_username">名字</label>
                            <input  type="text" name="username" class="form-control" id="input_username" placeholder="请输入名字！">
                        </div>
                        <div class="form-group">
                            <label for="input_password">密码</label>
                            <input  type="password" name="password" class="form-control" id="input_password" placeholder="请输入密码！">
                        </div>
                    </div>
                    <div class="box-footer">
                        <button type="submit" class="btn btn-primary">提交</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</section>
{{/block}}
{{block name="js"}}
<script>
    // 激活菜单栏
    $(document).ready(function () {
        $("#m-7").addClass('active');
    })
</script>
{{/block}}